package cn.alm.template_backend_project.controller;

import cn.alm.template_backend_project.common.CommonResponse;
import cn.alm.template_backend_project.entity.LoginForm;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("auth")
public class AuthController {

    @PostMapping("login")
    public CommonResponse login(@RequestBody LoginForm loginForm) {
        return new CommonResponse(200, "登录成功", null);
    }
}
